/* You can add global styles to this file, and also import other style files */

@import 'theme';
html {
  font-size: 13px;
}
body {
  margin: 0;
  user-select: none;
  cursor: default;
}

// 滚动条
@import '~perfect-scrollbar/css/perfect-scrollbar.css';
.ps {
  .ps__rail-y {
    background-color: transparent !important;
    .ps__thumb-y {
      width: 4px;
    }
    &:hover,
    &.ps--clicking {
      .ps__thumb-y {
        width: 8px;
      }
    }
  }
}

input,
textarea,
select {
  font-size: 1rem;
  font-family: unset;
}

// ::-webkit-scrollbar {
//   width: 8px;
//   height: 8px;
//   background-color: var(--scrollbar-bg-color);
// }
// ::-webkit-scrollbar-thumb {
//   background-clip: content-box;
//   background-color: var(--scrollbar-color);
//   border: 2px solid transparent;
//   border-radius: 4px;
// }
// ::-webkit-scrollbar-thumb:hover {
//   $color: var(--scrollbar-color-hover);
//   background-color: $color;
//   border: 2px solid $color;
// }
// ::-webkit-scrollbar-thumb:active {
//   $color: var(--scrollbar-color-active);
//   background-color: $color;
//   border: 2px solid $color;
// }
.icon {
  position: relative;
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
}

.tips_bg {
  width: 8rem;
}

a {
  text-decoration: none;
  color: unset;
  cursor: pointer;
  color: #0082fa;
}
[hidden] {
  display: none !important;
}
[tabindex] {
  outline: none;
}
button {
  cursor: pointer;
  border-radius: 4px;
  outline: none;
  user-select: none;
  border: none;
  font-size: 1rem;
  white-space: nowrap;
  height: 2rem;
}

dialog {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);

  border-radius: 5px;
  color: var(--main-color);
  border: 1px solid var(--main-title-hr-color);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1), 0 16px 40px rgba(0, 0, 0, 0.4);
  background-color: var(--main-bg-color);
  body {
    background-color: red;
  }
}
img {
  cursor: pointer;
}
.cursor {
  cursor: pointer;
}
.select {
  user-select: auto;
}

@media (max-width: 600px) {
  .co-star {
    display: none;
  }
}
.loadingContainer {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
}

.paginatorContainer {
  height: calc(3rem - 4px);
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
